package com.xsq.rpc.provider.service;

import com.alibaba.fastjson.JSONObject;
import com.xsq.rpc.common.annotation.XsqService;
import com.xsq.rpc.common.service.UserService;


/**
 * @ClassName: impl
 * @Description:
 * @author: xsq
 * @date: 2020年05月25日
 */

@XsqService
public class UserServiceImpl implements UserService {
    @Override
    public String sayHello(JSONObject param) {
        System.out.println("调用参数：" + param.toJSONString());
        try {
            Thread.sleep(300L);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "success";
    }

}

